package com.sdrt.lums.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.type.Alias;

import java.util.List;

@Data//getter setter toString hashCode equals
@NoArgsConstructor//无参构造
@AllArgsConstructor//全参构造

@Alias("user")
public class User {
    private int id;

    private String username;

    private String password;
}
